var redis=require('redis');
var c=redis.createClient();

c.zadd('sorted-ary',[1,'one',2,'two',3,'three'],(err,ret)=>{
	console.log(err,ret);
	c.zrange('sorted-ary',0,-1,(err,ret)=>{
		console.log(err,ret);
	});

	c.zrange('sorted-ary',0,-1,'withscores',(err,ret)=>{
		console.log(err,ret);
	});
});